import request from '@/utils/request'
// 查询T6渠道销售总览日报列表
export function synchroChannelData(query) {
  return request({
    url: '/product/BiChannelSaleDwd/channelSynchroData',
    method: 'get',
    params: query
  })
}





// 新增T6渠道销售总览日报
export function numberOfItem(data) {
  return request({
    url: '/product/BiOrder/get-numberOfItem',
    method: 'post',
    data: data
  })
}
// 新增T6渠道销售总览日报
export function TopSaleProvince(data) {
  return request({
    url: '/product/BiOrder/TopSaleProvince',
    method: 'post',
    data: data
  })
}
// 新增T6渠道销售总览日报
export function addBiChannelSaleDwd(data) {
  return request({
    url: '/product/BiChannelSaleDwd',
    method: 'post',
    data: data
  })
}
// 修改T6渠道销售总览日报
export function updateBiChannelSaleDwd(data) {
  return request({
    url: '/product/BiChannelSaleDwd',
    method: 'put',
    data: data
  })
}

// 删除T6渠道销售总览日报
export function delBiChannelSaleDwd(id) {
  return request({
    url: '/product/BiChannelSaleDwd/' + id,
    method: 'delete'
  })
}
// 查询T6渠道销售总览日报详细
export function getBiChannelSaleDwd(id) {
  return request({
    url: '/product/BiChannelSaleDwd/' + id,
    method: 'get'
  })
}
// 查询T6渠道销售总览日报列表
export function listBiChannelSaleDwd(query) {
  return request({
    url: '/product/BiChannelSaleDwd/list',
    method: 'get',
    params: query
  })
}